" vim: set filetype=vim : 

let s:remote_fcitx_vim_path="~/.local/bin"
autocmd InsertLeave * call system("python3 ".s:remote_fcitx_vim_path."/remote_fcitx_vim_sender.py NORMAL \"".expand("%:p")."\"")
autocmd InsertEnter * call system("python3 ".s:remote_fcitx_vim_path."/remote_fcitx_vim_sender.py INSERTION \"".expand("%:p")."\"")
autocmd BufUnload * call system("python3 ".s:remote_fcitx_vim_path."/remote_fcitx_vim_sender.py CLOSED \"".expand("%:p")."\"")
